package com.woniu.car.service;


import com.woniu.car.common.ResponseEntity;
import com.woniu.car.exception.ServiceSException;
import com.woniu.car.domain.TProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import com.woniu.car.param.AddCategoryChildParam;
import com.woniu.car.param.AddGoodsCategoryParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chestnuts
 * @since 2021-06-21
 */
public interface TProductCategoryService extends IService<TProductCategory> {

    ResponseEntity addProCategory(AddGoodsCategoryParam addGoodsCategoryParam) throws ServiceSException;

    ResponseEntity selectAllCateGory();

    ResponseEntity getLevel();

    ResponseEntity addParentCategory(String categoryName);

    ResponseEntity addChildCategory(AddCategoryChildParam addCategoryChildParam);
}
